<include file='Admin/Tpl/Public/nav.html' />
<style>
.tr:nth-of-type(even){
	background:#D8F6FF;
}
</style>
<div class="page-content">
    <div class="container-fluid">
    	<br/>
        <ol class="breadcrumb default square rsaquo sm">
            <li><a href="index.html"><i class="fa fa-home"></i></a></li>
            <li><a href="#fakelink">Team In</a></li>
            <li><a href="__URL__/meeting_category_list">会议类型</a></li>
            <li class="active">类型修改</li>
        </ol>
        <div class="the-box full no-border">
            <div class="table-responsive">
                <div class="the-box">
            		<form id="ExampleBootstrapValidationForm" method="post" action="__URL__/update_category_act">
                    	<input type="hidden" name="category_id" value="{$cate['category_id']}" />
                        <fieldset>
                            <div class="form-group">
                                <label>父类型名称</label>
                                <select class="form-control" tabindex="2" id="category_pid" name="category_pid">
                                	<option value="0">根类型</option>
                                	<foreach name="type" item="value" >
                                		<option value="{$value.category_id}">{$value.category_name}</option>
                                	</foreach>
                                </select>
                            </div>
                            <div class="form-group">
                                <label>类型名称</label>
                                <input type="text" class="form-control must" name="category_name" value="{$cate['category_name']}"/>
                            </div>
        
                            <input type="hidden" value="{$cate.category_pid}" name="category_type">
                            <div class="form-group">
                                <input class="btn btn-primary" id="submit" type="submit" value="提交" />
                            </div>
                        </fieldset>
                	</form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript">
	$("#category_pid").val('{$cate.category_pid}');
</script>
</html>